﻿using MediatR;
using Schedulingclasses.Api.DTO;
using Schedulingclasses.ErrorCode;

namespace Schedulingclasses.Api.User.Command
{
    /// <summary>
    /// 登录
    /// </summary>
    public class LoginCommand:IRequest<ApiResult<LoginDto>>
    {
        public string Username { get; set; }//用户名
        public string Password { get; set; }//密码
    }
}
